<div class="box-right">
    <div class="title-box">
        Bài giảng liên quan
    </div>
    <div class="ct-box">
        <ul>
            @forelse($cLessons as $cLesson)
            <li class="items">
                <h1 class="name">
                    <a href="<?= $cLesson->generate_link() ?>"><?= $cLesson->title ?></a>
                </h1>

                <div class="thumb-videos">
                    <a href="<?= $cLesson->generate_link() ?>">
                        <img src="<?= $cLesson->thumbnail_link() ?>" alt="">
                    </a>
                </div>
                <div class="ct-videos">
                    <div>
                        <span class="font12 color55">Thành viên</span>
                        <a href="<?= route('thanh-vien', array('id' => $cLesson->user_id, 'slug' => Str::slug($cLesson->username))) ?>"
                           class="font12 colorDackG">
                            <?= $cLesson->username ?>
                        </a>
                    </div>
                    <div>
                        <span class="font11 color99"><?= $cLesson->thanks ?> bình chọn</span>
                        <span class="font11 color99"><?= $cLesson->views ?> lượt xem</span>
                    </div>
                    <div>
                        <span class="font11 color99">Thể loại:</span>
                        <span class="font11 colorDackG"><?= $cLesson->category_title ?></span>
                    </div>
                </div>
            </li>
            @empty
            @endforelse

        </ul>
    </div>
</div>